package com.chenfan.process.service;

import java.util.List;
import java.util.Optional;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenfan.process.entity.po.ProcessCarbonCopyPo;

/**
 * @author liuming
 * @date 2021/8/13
 */
public interface ProcessCarbonCopyService extends IService<ProcessCarbonCopyPo> {

    Optional<List<ProcessCarbonCopyPo>> listByProcessId(Long approvalTemplateId, Long processId);

    Optional<List<ProcessCarbonCopyPo>> listByProcessId(Long approvalTemplateId, List<Long> processId);
}
